package com.vf.admin.client.dao;

import com.vf.admin.common.db.BaseDao;
import com.vf.admin.miaodong.entity.GameSetting;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

/**
 * 游戏设置表
 */
@Repository
public class AppGameSettingDao extends BaseDao<GameSetting> {
    private final Logger logger = LoggerFactory.getLogger(this.getClass());

    //详情
    public GameSetting get() {
        List<Object> paramList = new ArrayList<Object>();
        StringBuilder sbStr = new StringBuilder("SELECT * FROM game_setting  where 1=1");
        sbStr.append(" and id = 1 ");
        String sql = sbStr.toString();
        return this.queryObj(sql, paramList, GameSetting.class);
    }

}
